<tr>
    <td width="70%" align="left" valign="top">
<div class="block_box">
     <div class="block_top"><div></div></div>
        <div class="block_content">

<h2>编辑<%= @user.login%>的个人信息:</h2>

<table width="70%" border="0">
  <tr>
    <td width="15%" align="right">头像:</td>
    <td width="85%" align="left">
    <%=render :partial => 'userThumbImage', :object => @user%><%= link_to '更新', update_icon_admin_user_path(@user) %>
    </td>
  </tr>
  <tr>
    <td align="right">居住地:</td>
    <td align="left">
    <% if @user.community.nil?%>
    还没定居呢
    <% else %>
    <%= @user.community.title%> <%= @user.community.district.title%>
    <% end %>
    </td>
  </tr>
</table>

<% form_tag( admin_user_path(@user), :method => :put, :multipart => true ) do -%>
    <%= render :partial => 'userForm' %>
    <%= submit_tag '提交' %>
<% end -%>
<br>



</div>
     <div class="block_bottom"><div></div></div>
 </div>

</td>
    <td width="30%" align="left" valign="top">
 
       <%= link_to "修改密码", change_password_admin_user_path(@user) %><br/>
       <%= link_to "用户列表", admin_users_path %>
        <% form_tag deliver_admin_message_path(@user), :method => :get do -%>
        <%= submit_tag '发信' %>
        <% end -%>
 </td>
  </tr>